home *** CD-ROM | disk | FTP | other *** search
- /*
- * This source file is part of Vahunz,
- * a tool to make source code un-/more legible.
- *
- *--------------------------------------------------------------------------
- *
- * Vahunz and the Ugly library are Copyright (C) 1998 by
- * Thomas Aglassinger <agi@giga.or.at>
- *
- * All rights reserved.
- *
- * Refer to the manual for more information.
- *
- *--------------------------------------------------------------------------
- *
- * Ubiqx library is Copyright (C) 1991-1998 by
- * Christopher R. Hertel <crh@ubiqx.mn.org>
- *
- * Ubiqx library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- */
- #ifndef h5F
- #define h5F
- #include <stdlib.h>
- #include "utypes.h"
- struct a8E
- {
- struct a8E *z7X;
- void *ptr;
- UBYTE *j7R;
- UBYTE *m6S;
- size_t u0Qh;
- STRPTR j5R;
- ULONG q6U;
- UBYTE c2G;
- };
- typedef struct a8E s4Q;
- #if c6K
- #define c8Y(u0Qh) n3V( u0Qh, __FILE__, __LINE__ )
- #define l5D(ptr) if ( ptr ) { u6K( ptr, __FILE__, __LINE__ ); ptr = NULL; }
- #define u4Q(ptr,u0Qh) g0Cd( ptr, u0Qh, __FILE, __LINE__ );
- #define s2K(count,u0Qh) i4I( count,u0Qh,__FILE__,__LINE );
- #define c4O(msg) l5Z( msg, __FILE__, __LINE__, __DATE__, __TIME__ )
- #define j9Zg(msg) q4M( msg, __FILE__, __LINE__, __DATE__, __TIME__ )
- #define x9R(msg) b9D( msg, __FILE__, __LINE__ )
- #define d9N d3V
- #else
- #define c8Y(u0Qh) q4E(u0Qh)
- #define l5D(ptr) if ( ptr ) { free(ptr); ptr=NULL; }
- #define u4Q(ptr,u0Qh) realloc( ptr, u0Qh );
- #define s2K(count,u0Qh) calloc( count,u0Qh )
- #define c4O(msg)
- #define j9Zg(msg)
- #define x9R(msg)
- #define d9N q8G
- #endif
- #ifndef e8U
- extern VOID i0Y(char *msg, char *j5R, size_t q6U);
- extern void *n3V(size_t u0Qh, STRPTR j5R, ULONG q6U);
- extern void *q4E(size_t u0Qh);
- extern void u6K(void *ptr, STRPTR j5R, ULONG q6U);
- extern void *g0Cd(void *ptr, size_t u0Qh, STRPTR j5R, ULONG q6U);
- extern void *i4I(size_t count, size_t u0Qh, STRPTR j5R, ULONG q6U);
- extern void q4M(STRPTR msg, STRPTR j5R, ULONG q6U, STRPTR date, STRPTR time);
- extern void l5Z(STRPTR msg, STRPTR j5R, ULONG q6U, STRPTR date, STRPTR time);
- extern void b9D(STRPTR msg, STRPTR j5R, ULONG q6U);
- extern void d9N(void);
- extern BOOL(*k0Cr) (size_t u0Qh);
- #endif
- #endif
-